package com.hqyj.service;

import com.hqyj.pojo.Question;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2021-11-12
 */
public interface QuestionService {
    /**
     * 获取所有题目内容
     * */
    HashMap<String, Object> getAllQuestion(Question question);

    //查询
    HashMap<String,Object> list(Question q);
    //修改
    HashMap<String,Object> update(Question q);
    //新增
    HashMap<String,Object> add(Question q);
    //删除
    HashMap<String,Object> delete(Integer id);
}
